home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / stckdnws.hqx / Stacked News ƒ / Stacked News / cards.xml < prev    next >
Text File  |  1992-10-12  |  64KB  |  1,525 lines

  1. card_2155.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>2155</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_2357.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2648</owner>
  12.     <marked><true /></marked>
  13.     <link rel="stylesheet" type="text/css" href="stylesheet_3319.css" />
  14.     <part>
  15.         <id>1</id>
  16.         <type>field</type>
  17.         <visible> <true /> </visible>
  18.         <dontWrap> <false /> </dontWrap>
  19.         <dontSearch> <false /> </dontSearch>
  20.         <sharedText> <false /> </sharedText>
  21.         <fixedLineHeight> <false /> </fixedLineHeight>
  22.         <autoTab> <false /> </autoTab>
  23.         <lockText> <false /> </lockText>
  24.         <rect>
  25.             <left>65535</left>
  26.             <top>124</top>
  27.             <right>513</right>
  28.             <bottom>439</bottom>
  29.         </rect>
  30.         <style>scrolling</style>
  31.         <autoSelect> <false /> </autoSelect>
  32.         <showLines> <false /> </showLines>
  33.         <wideMargins> <true /> </wideMargins>
  34.         <multipleLines> <false /> </multipleLines>
  35.         <reservedFamily> 0 </reservedFamily>
  36.         <titleWidth>0</titleWidth>
  37.         <icon>0</icon>
  38.         <textAlign>left</textAlign>
  39.         <font>Monaco</font>
  40.         <textSize>9</textSize>
  41.         <textStyle>plain</textStyle>
  42.         <textHeight>12</textHeight>
  43.         <name>text</name>
  44.         <script>on arrangeget the rect of meput -1 into item 1 of itput item 3 of rect of this card + 1 into item 3 of itput item 4 of rect of this card + 1 into item 4 of itset rect of me to itend arrange</script>
  45.     </part>
  46.     <part>
  47.         <id>3</id>
  48.         <type>button</type>
  49.         <visible> <true /> </visible>
  50.         <reserved5> 0 </reserved5>
  51.         <reserved4> 0 </reserved4>
  52.         <reserved3> 0 </reserved3>
  53.         <reserved2> 0 </reserved2>
  54.         <reserved1> 0 </reserved1>
  55.         <enabled> <true /> </enabled>
  56.         <rect>
  57.             <left>476</left>
  58.             <top>50</top>
  59.             <right>511</right>
  60.             <bottom>78</bottom>
  61.         </rect>
  62.         <style>transparent</style>
  63.         <showName> <false /> </showName>
  64.         <highlight> <false /> </highlight>
  65.         <autoHighlight> <true /> </autoHighlight>
  66.         <sharedHighlight> <true /> </sharedHighlight>
  67.         <family>0</family>
  68.         <titleWidth>0</titleWidth>
  69.         <icon>15846</icon>
  70.         <textAlign>center</textAlign>
  71.         <font>Chicago</font>
  72.         <textSize>12</textSize>
  73.         <textStyle>plain</textStyle>
  74.         <name></name>
  75.         <script>on mouseUpif cd fld "text" is empty thenanswer "Nothing to post !"exit mouseUpend ifset cursor to watchput cd fld "host" of card "setup" into theHost-- build & check the headerput "Relay-Version: version SN 1.1 28.8.91; site" && theHost & return into theHeaderput "Posting-Version: version SN 1.1 28.8.91; site" && theHost & return after theHeaderput "Path:" && theHost & return after theHeaderput "<" & the seconds & "@" & theHost & ">" into theMsgIDput "Message-ID: " & theMsgID & return after theHeaderput "Date: " && buildDate() & return after theHeaderrepeat with i = 2 to number of lines of cd fld "required"get line i of cd fld "required"if cd fld it is empty thenput it into missinganswer "Field " & quote & it & quote & " must be filled in."click at loc of cd fld missingexit mouseUpend ifput it && cd fld it & return after theHeaderend repeatrepeat with i = 1 to number of lines of cd fld "optional"get line i of cd fld "optional"if cd fld it is not empty thenput it && cd fld it & return after theHeaderend ifend repeat-- break the message into lines of less then 80 charactersrepeat with i = 1 to number of lines of cd fld "text"get line i of cd fld "text"repeat while the number of chars of it > 75put 75 into jrepeat while (j > 1) and (char j of it Γëá space)subtract 1 from jend repeatif j = 1 then put 75 into jput char 1 to j of it & return after theTextdelete char 1 to j of itend repeatput it & return after theTextend repeatget theHeader & return & theText & return & (cd fld "Signature" of cd "setup")postIt itunmark this card -- remove modification flagend mouseUpon postIt theTextsendLine "POST"get fetchLine()if first word of it is not "340" thenbeepput itexit postItend ifrepeat with i = 1 to number of lines of theTextset cursor to busyget line i of theTextif first char of it is "." then put "." before itsendLine itend repeatsendLine "."get fetchLine()put itif first word of it is not "240" then beepend postIton mouseEnterHCBalloon "Click here to post the message."end mouseEnterfunction buildDateconvert the seconds to dateItemsput it into theDateput item (item 7 of theDate) of "Sun,Mon,Tue,Wed,Thu,Fri,Sat" into dateStringput ", " & item 3 of theDate & "-" after dateStringput item (item 2 of theDate) of "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec" after dateStringput "-" & (char 3 to 4 of item 1 of theDate) && item 4 of theDate & ":" & item 5 of theDate & ┬¼":" & item 6 of theDate after dateStringput  " " & cd fld "Timezone" of cd "setup" after dateStringreturn dateStringend buildDate</script>
  76.     </part>
  77.     <part>
  78.         <id>5</id>
  79.         <type>field</type>
  80.         <visible> <true /> </visible>
  81.         <dontWrap> <false /> </dontWrap>
  82.         <dontSearch> <false /> </dontSearch>
  83.         <sharedText> <false /> </sharedText>
  84.         <fixedLineHeight> <false /> </fixedLineHeight>
  85.         <autoTab> <false /> </autoTab>
  86.         <lockText> <true /> </lockText>
  87.         <rect>
  88.             <left>0</left>
  89.             <top>0</top>
  90.             <right>89</right>
  91.             <bottom>37</bottom>
  92.         </rect>
  93.         <style>opaque</style>
  94.         <autoSelect> <false /> </autoSelect>
  95.         <showLines> <false /> </showLines>
  96.         <wideMargins> <false /> </wideMargins>
  97.         <multipleLines> <false /> </multipleLines>
  98.         <reservedFamily> 0 </reservedFamily>
  99.         <titleWidth>0</titleWidth>
  100.         <icon>0</icon>
  101.         <textAlign>right</textAlign>
  102.         <font>Monaco</font>
  103.         <textSize>9</textSize>
  104.         <textStyle>plain</textStyle>
  105.         <textHeight>12</textHeight>
  106.         <name>required</name>
  107.         <script>on mouseEnterHCBalloon "These fields must be filled in."end mouseEnter</script>
  108.     </part>
  109.     <part>
  110.         <id>14</id>
  111.         <type>field</type>
  112.         <visible> <true /> </visible>
  113.         <dontWrap> <true /> </dontWrap>
  114.         <dontSearch> <false /> </dontSearch>
  115.         <sharedText> <false /> </sharedText>
  116.         <fixedLineHeight> <false /> </fixedLineHeight>
  117.         <autoTab> <true /> </autoTab>
  118.         <lockText> <false /> </lockText>
  119.         <rect>
  120.             <left>89</left>
  121.             <top>0</top>
  122.             <right>512</right>
  123.             <bottom>14</bottom>
  124.         </rect>
  125.         <style>transparent</style>
  126.         <autoSelect> <false /> </autoSelect>
  127.         <showLines> <false /> </showLines>
  128.         <wideMargins> <false /> </wideMargins>
  129.         <multipleLines> <false /> </multipleLines>
  130.         <reservedFamily> 0 </reservedFamily>
  131.         <titleWidth>0</titleWidth>
  132.         <icon>0</icon>
  133.         <textAlign>left</textAlign>
  134.         <font>Monaco</font>
  135.         <textSize>9</textSize>
  136.         <textStyle>plain</textStyle>
  137.         <textHeight>12</textHeight>
  138.         <name>From:</name>
  139.         <script>on closeFieldif cd fld "Reply-To:" is empty then put me into cd fld "Reply-To:"end closeFieldon mouseEnterHCBalloon "Enter your email address here."end mouseEnter</script>
  140.     </part>
  141.     <part>
  142.         <id>15</id>
  143.         <type>field</type>
  144.         <visible> <true /> </visible>
  145.         <dontWrap> <true /> </dontWrap>
  146.         <dontSearch> <false /> </dontSearch>
  147.         <sharedText> <false /> </sharedText>
  148.         <fixedLineHeight> <false /> </fixedLineHeight>
  149.         <autoTab> <true /> </autoTab>
  150.         <lockText> <false /> </lockText>
  151.         <rect>
  152.             <left>89</left>
  153.             <top>11</top>
  154.             <right>512</right>
  155.             <bottom>25</bottom>
  156.         </rect>
  157.         <style>transparent</style>
  158.         <autoSelect> <false /> </autoSelect>
  159.         <showLines> <false /> </showLines>
  160.         <wideMargins> <false /> </wideMargins>
  161.         <multipleLines> <false /> </multipleLines>
  162.         <reservedFamily> 0 </reservedFamily>
  163.         <titleWidth>0</titleWidth>
  164.         <icon>0</icon>
  165.         <textAlign>left</textAlign>
  166.         <font>Monaco</font>
  167.         <textSize>9</textSize>
  168.         <textStyle>plain</textStyle>
  169.         <textHeight>12</textHeight>
  170.         <name>Subject:</name>
  171.         <script></script>
  172.     </part>
  173.     <part>
  174.         <id>16</id>
  175.         <type>field</type>
  176.         <visible> <true /> </visible>
  177.         <dontWrap> <true /> </dontWrap>
  178.         <dontSearch> <false /> </dontSearch>
  179.         <sharedText> <false /> </sharedText>
  180.         <fixedLineHeight> <false /> </fixedLineHeight>
  181.         <autoTab> <true /> </autoTab>
  182.         <lockText> <false /> </lockText>
  183.         <rect>
  184.             <left>89</left>
  185.             <top>22</top>
  186.             <right>512</right>
  187.             <bottom>36</bottom>
  188.         </rect>
  189.         <style>transparent</style>
  190.         <autoSelect> <false /> </autoSelect>
  191.         <showLines> <false /> </showLines>
  192.         <wideMargins> <false /> </wideMargins>
  193.         <multipleLines> <false /> </multipleLines>
  194.         <reservedFamily> 0 </reservedFamily>
  195.         <titleWidth>0</titleWidth>
  196.         <icon>0</icon>
  197.         <textAlign>left</textAlign>
  198.         <font>Monaco</font>
  199.         <textSize>9</textSize>
  200.         <textStyle>plain</textStyle>
  201.         <textHeight>12</textHeight>
  202.         <name>Newsgroups:</name>
  203.         <script>on mouseEnterHCBalloon "Separate multiple groups by a comma."end mouseEnter</script>
  204.     </part>
  205.     <part>
  206.         <id>21</id>
  207.         <type>field</type>
  208.         <visible> <true /> </visible>
  209.         <dontWrap> <true /> </dontWrap>
  210.         <dontSearch> <false /> </dontSearch>
  211.         <sharedText> <false /> </sharedText>
  212.         <fixedLineHeight> <false /> </fixedLineHeight>
  213.         <autoTab> <true /> </autoTab>
  214.         <lockText> <false /> </lockText>
  215.         <rect>
  216.             <left>89</left>
  217.             <top>42</top>
  218.             <right>473</right>
  219.             <bottom>56</bottom>
  220.         </rect>
  221.         <style>transparent</style>
  222.         <autoSelect> <false /> </autoSelect>
  223.         <showLines> <false /> </showLines>
  224.         <wideMargins> <false /> </wideMargins>
  225.         <multipleLines> <false /> </multipleLines>
  226.         <reservedFamily> 0 </reservedFamily>
  227.         <titleWidth>0</titleWidth>
  228.         <icon>0</icon>
  229.         <textAlign>left</textAlign>
  230.         <font>Monaco</font>
  231.         <textSize>9</textSize>
  232.         <textStyle>plain</textStyle>
  233.         <textHeight>12</textHeight>
  234.         <name>Sender:</name>
  235.         <script></script>
  236.     </part>
  237.     <part>
  238.         <id>17</id>
  239.         <type>field</type>
  240.         <visible> <true /> </visible>
  241.         <dontWrap> <true /> </dontWrap>
  242.         <dontSearch> <false /> </dontSearch>
  243.         <sharedText> <false /> </sharedText>
  244.         <fixedLineHeight> <false /> </fixedLineHeight>
  245.         <autoTab> <true /> </autoTab>
  246.         <lockText> <false /> </lockText>
  247.         <rect>
  248.             <left>89</left>
  249.             <top>53</top>
  250.             <right>473</right>
  251.             <bottom>67</bottom>
  252.         </rect>
  253.         <style>transparent</style>
  254.         <autoSelect> <false /> </autoSelect>
  255.         <showLines> <false /> </showLines>
  256.         <wideMargins> <false /> </wideMargins>
  257.         <multipleLines> <false /> </multipleLines>
  258.         <reservedFamily> 0 </reservedFamily>
  259.         <titleWidth>0</titleWidth>
  260.         <icon>0</icon>
  261.         <textAlign>left</textAlign>
  262.         <font>Monaco</font>
  263.         <textSize>9</textSize>
  264.         <textStyle>plain</textStyle>
  265.         <textHeight>12</textHeight>
  266.         <name>Reply-To:</name>
  267.         <script>on mouseEnterHCBalloon "Enter your email address here if the ┬┤From:┬┤ field is eaten by the posting software."end mouseEnter</script>
  268.     </part>
  269.     <part>
  270.         <id>18</id>
  271.         <type>field</type>
  272.         <visible> <true /> </visible>
  273.         <dontWrap> <true /> </dontWrap>
  274.         <dontSearch> <false /> </dontSearch>
  275.         <sharedText> <false /> </sharedText>
  276.         <fixedLineHeight> <false /> </fixedLineHeight>
  277.         <autoTab> <true /> </autoTab>
  278.         <lockText> <false /> </lockText>
  279.         <rect>
  280.             <left>89</left>
  281.             <top>64</top>
  282.             <right>473</right>
  283.             <bottom>78</bottom>
  284.         </rect>
  285.         <style>transparent</style>
  286.         <autoSelect> <false /> </autoSelect>
  287.         <showLines> <false /> </showLines>
  288.         <wideMargins> <false /> </wideMargins>
  289.         <multipleLines> <false /> </multipleLines>
  290.         <reservedFamily> 0 </reservedFamily>
  291.         <titleWidth>0</titleWidth>
  292.         <icon>0</icon>
  293.         <textAlign>left</textAlign>
  294.         <font>Monaco</font>
  295.         <textSize>9</textSize>
  296.         <textStyle>plain</textStyle>
  297.         <textHeight>12</textHeight>
  298.         <name>Followup-To:</name>
  299.         <script>on mouseEnterHCBalloon "Redirect replies to these newsgroups."end mouseEnter</script>
  300.     </part>
  301.     <part>
  302.         <id>19</id>
  303.         <type>field</type>
  304.         <visible> <true /> </visible>
  305.         <dontWrap> <true /> </dontWrap>
  306.         <dontSearch> <false /> </dontSearch>
  307.         <sharedText> <false /> </sharedText>
  308.         <fixedLineHeight> <false /> </fixedLineHeight>
  309.         <autoTab> <true /> </autoTab>
  310.         <lockText> <false /> </lockText>
  311.         <rect>
  312.             <left>89</left>
  313.             <top>75</top>
  314.             <right>473</right>
  315.             <bottom>89</bottom>
  316.         </rect>
  317.         <style>transparent</style>
  318.         <autoSelect> <false /> </autoSelect>
  319.         <showLines> <false /> </showLines>
  320.         <wideMargins> <false /> </wideMargins>
  321.         <multipleLines> <false /> </multipleLines>
  322.         <reservedFamily> 0 </reservedFamily>
  323.         <titleWidth>0</titleWidth>
  324.         <icon>0</icon>
  325.         <textAlign>left</textAlign>
  326.         <font>Monaco</font>
  327.         <textSize>9</textSize>
  328.         <textStyle>plain</textStyle>
  329.         <textHeight>12</textHeight>
  330.         <name>Expires:</name>
  331.         <script></script>
  332.     </part>
  333.     <part>
  334.         <id>20</id>
  335.         <type>field</type>
  336.         <visible> <true /> </visible>
  337.         <dontWrap> <false /> </dontWrap>
  338.         <dontSearch> <false /> </dontSearch>
  339.         <sharedText> <false /> </sharedText>
  340.         <fixedLineHeight> <false /> </fixedLineHeight>
  341.         <autoTab> <false /> </autoTab>
  342.         <lockText> <true /> </lockText>
  343.         <rect>
  344.             <left>0</left>
  345.             <top>42</top>
  346.             <right>89</right>
  347.             <bottom>122</bottom>
  348.         </rect>
  349.         <style>opaque</style>
  350.         <autoSelect> <false /> </autoSelect>
  351.         <showLines> <false /> </showLines>
  352.         <wideMargins> <false /> </wideMargins>
  353.         <multipleLines> <false /> </multipleLines>
  354.         <reservedFamily> 0 </reservedFamily>
  355.         <titleWidth>0</titleWidth>
  356.         <icon>0</icon>
  357.         <textAlign>right</textAlign>
  358.         <font>Monaco</font>
  359.         <textSize>9</textSize>
  360.         <textStyle>plain</textStyle>
  361.         <textHeight>12</textHeight>
  362.         <name>optional</name>
  363.         <script>on mouseEnterHCBalloon "These fields are optional."end mouseEnter</script>
  364.     </part>
  365.     <part>
  366.         <id>23</id>
  367.         <type>field</type>
  368.         <visible> <true /> </visible>
  369.         <dontWrap> <true /> </dontWrap>
  370.         <dontSearch> <false /> </dontSearch>
  371.         <sharedText> <false /> </sharedText>
  372.         <fixedLineHeight> <false /> </fixedLineHeight>
  373.         <autoTab> <true /> </autoTab>
  374.         <lockText> <false /> </lockText>
  375.         <rect>
  376.             <left>89</left>
  377.             <top>86</top>
  378.             <right>473</right>
  379.             <bottom>100</bottom>
  380.         </rect>
  381.         <style>transparent</style>
  382.         <autoSelect> <false /> </autoSelect>
  383.         <showLines> <false /> </showLines>
  384.         <wideMargins> <false /> </wideMargins>
  385.         <multipleLines> <false /> </multipleLines>
  386.         <reservedFamily> 0 </reservedFamily>
  387.         <titleWidth>0</titleWidth>
  388.         <icon>0</icon>
  389.         <textAlign>left</textAlign>
  390.         <font>Monaco</font>
  391.         <textSize>9</textSize>
  392.         <textStyle>plain</textStyle>
  393.         <textHeight>12</textHeight>
  394.         <name>References:</name>
  395.         <script></script>
  396.     </part>
  397.     <part>
  398.         <id>24</id>
  399.         <type>field</type>
  400.         <visible> <true /> </visible>
  401.         <dontWrap> <true /> </dontWrap>
  402.         <dontSearch> <false /> </dontSearch>
  403.         <sharedText> <false /> </sharedText>
  404.         <fixedLineHeight> <false /> </fixedLineHeight>
  405.         <autoTab> <true /> </autoTab>
  406.         <lockText> <false /> </lockText>
  407.         <rect>
  408.             <left>89</left>
  409.             <top>97</top>
  410.             <right>473</right>
  411.             <bottom>111</bottom>
  412.         </rect>
  413.         <style>transparent</style>
  414.         <autoSelect> <false /> </autoSelect>
  415.         <showLines> <false /> </showLines>
  416.         <wideMargins> <false /> </wideMargins>
  417.         <multipleLines> <false /> </multipleLines>
  418.         <reservedFamily> 0 </reservedFamily>
  419.         <titleWidth>0</titleWidth>
  420.         <icon>0</icon>
  421.         <textAlign>left</textAlign>
  422.         <font>Monaco</font>
  423.         <textSize>9</textSize>
  424.         <textStyle>plain</textStyle>
  425.         <textHeight>12</textHeight>
  426.         <name>Distribution:</name>
  427.         <script></script>
  428.     </part>
  429.     <part>
  430.         <id>25</id>
  431.         <type>field</type>
  432.         <visible> <true /> </visible>
  433.         <dontWrap> <false /> </dontWrap>
  434.         <dontSearch> <false /> </dontSearch>
  435.         <sharedText> <false /> </sharedText>
  436.         <fixedLineHeight> <false /> </fixedLineHeight>
  437.         <autoTab> <true /> </autoTab>
  438.         <lockText> <false /> </lockText>
  439.         <rect>
  440.             <left>89</left>
  441.             <top>108</top>
  442.             <right>473</right>
  443.             <bottom>122</bottom>
  444.         </rect>
  445.         <style>transparent</style>
  446.         <autoSelect> <false /> </autoSelect>
  447.         <showLines> <false /> </showLines>
  448.         <wideMargins> <false /> </wideMargins>
  449.         <multipleLines> <false /> </multipleLines>
  450.         <reservedFamily> 0 </reservedFamily>
  451.         <titleWidth>0</titleWidth>
  452.         <icon>0</icon>
  453.         <textAlign>left</textAlign>
  454.         <font>Monaco</font>
  455.         <textSize>9</textSize>
  456.         <textStyle>plain</textStyle>
  457.         <textHeight>12</textHeight>
  458.         <name>Organization:</name>
  459.         <script></script>
  460.     </part>
  461.     <part>
  462.         <id>29</id>
  463.         <type>button</type>
  464.         <visible> <true /> </visible>
  465.         <reserved5> 0 </reserved5>
  466.         <reserved4> 0 </reserved4>
  467.         <reserved3> 0 </reserved3>
  468.         <reserved2> 0 </reserved2>
  469.         <reserved1> 0 </reserved1>
  470.         <enabled> <true /> </enabled>
  471.         <rect>
  472.             <left>477</left>
  473.             <top>88</top>
  474.             <right>510</right>
  475.             <bottom>116</bottom>
  476.         </rect>
  477.         <style>transparent</style>
  478.         <showName> <false /> </showName>
  479.         <highlight> <false /> </highlight>
  480.         <autoHighlight> <true /> </autoHighlight>
  481.         <sharedHighlight> <true /> </sharedHighlight>
  482.         <family>0</family>
  483.         <titleWidth>0</titleWidth>
  484.         <icon>2162</icon>
  485.         <textAlign>center</textAlign>
  486.         <font>Chicago</font>
  487.         <textSize>12</textSize>
  488.         <textStyle>plain</textStyle>
  489.         <name></name>
  490.         <script>on mouseUpif the marked of this card thenanswer "Discard the message ?" with "Yes" or "No"if it is not "Yes" then exit mouseUpend ifput empty into cd fld "text"put empty into cd fld "Subject:"put empty into cd fld "Newsgroups:"repeat with i = 3 to 5get line i of cd fld "optional"put empty into cd fld itend repeatgo to card "browser"end mouseUpon mouseEnterHCBalloon "Discard the message and return to the news browser."end mouseEnter</script>
  491.     </part>
  492.     <content>
  493.         <layer>card</layer>
  494.         <id>5</id>
  495.         <text>From:Subject:Newsgroups:</text>
  496.     </content>
  497.     <content>
  498.         <layer>card</layer>
  499.         <id>20</id>
  500.         <text>Sender:Reply-To:Followup-To:Expires:References:Distribution:Organization:</text>
  501.     </content>
  502.     <content>
  503.         <layer>card</layer>
  504.         <id>24</id>
  505.         <text>world</text>
  506.     </content>
  507.     <name>posting</name>
  508.     <script>on openCardunmark this cardtabKeyend openCardon closeFieldmark this card  -- remember that editing has occurredend closeField</script>
  509. </card>
  510.  
  511.  
  512. card_3606.xml
  513. <?xml version="1.0" encoding="utf-8" ?>
  514. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  515. <card>
  516.     <id>3606</id>
  517.     <filler1>0</filler1>
  518.     <cantDelete> <false /> </cantDelete>
  519.     <showPict> <true /> </showPict>
  520.     <dontSearch> <false /> </dontSearch>
  521.     <owner>2648</owner>
  522.     <link rel="stylesheet" type="text/css" href="stylesheet_3319.css" />
  523.     <part>
  524.         <id>1</id>
  525.         <type>button</type>
  526.         <visible> <true /> </visible>
  527.         <reserved5> 0 </reserved5>
  528.         <reserved4> 0 </reserved4>
  529.         <reserved3> 0 </reserved3>
  530.         <reserved2> 0 </reserved2>
  531.         <reserved1> 0 </reserved1>
  532.         <enabled> <true /> </enabled>
  533.         <rect>
  534.             <left>487</left>
  535.             <top>418</top>
  536.             <right>505</right>
  537.             <bottom>436</bottom>
  538.         </rect>
  539.         <style>transparent</style>
  540.         <showName> <false /> </showName>
  541.         <highlight> <false /> </highlight>
  542.         <autoHighlight> <true /> </autoHighlight>
  543.         <sharedHighlight> <true /> </sharedHighlight>
  544.         <family>0</family>
  545.         <titleWidth>0</titleWidth>
  546.         <icon>6720</icon>
  547.         <textAlign>center</textAlign>
  548.         <font>Chicago</font>
  549.         <textSize>12</textSize>
  550.         <textStyle>plain</textStyle>
  551.         <name></name>
  552.         <script>on mouseUpgo backend mouseUp</script>
  553.     </part>
  554.     <part>
  555.         <id>2</id>
  556.         <type>field</type>
  557.         <visible> <true /> </visible>
  558.         <dontWrap> <false /> </dontWrap>
  559.         <dontSearch> <false /> </dontSearch>
  560.         <sharedText> <false /> </sharedText>
  561.         <fixedLineHeight> <false /> </fixedLineHeight>
  562.         <autoTab> <false /> </autoTab>
  563.         <lockText> <true /> </lockText>
  564.         <rect>
  565.             <left>12</left>
  566.             <top>11</top>
  567.             <right>503</right>
  568.             <bottom>417</bottom>
  569.         </rect>
  570.         <style>scrolling</style>
  571.         <autoSelect> <false /> </autoSelect>
  572.         <showLines> <false /> </showLines>
  573.         <wideMargins> <false /> </wideMargins>
  574.         <multipleLines> <false /> </multipleLines>
  575.         <reservedFamily> 0 </reservedFamily>
  576.         <titleWidth>0</titleWidth>
  577.         <icon>0</icon>
  578.         <textAlign>left</textAlign>
  579.         <font>Geneva</font>
  580.         <textSize>10</textSize>
  581.         <textStyle>plain</textStyle>
  582.         <textHeight>13</textHeight>
  583.         <name>Help</name>
  584.         <script></script>
  585.     </part>
  586.     <content>
  587.         <layer>card</layer>
  588.         <id>2</id>
  589.         <text><span class="style4">ntroduction</span><span class="style1">This is Yet Another Newsreader. I do not claim it┬┤s a better product than the other available Freeware / Shareware newsreaders. However, since newsreaders, like editors, have to satisfy differing personal tastes I have decided to build my own. And as it is a HyperCard stack, you can easily tailor it to </span><span class="style8">your</span><span class="style1"> requirements.</span><span class="style4">Hints</span><span class="style1">Turn on Balloon Help for a description of the various buttons and fields. Commands for posting, group manipulation, etc. are listed under the </span><span class="style9">News</span><span class="style1"> menu of the news browser card. Ask your network/news administrator if you are unfamiliar with netnews or IP networking.The watch cursor appears when StackedNews is waiting for the server to respond.  This </span><span class="style3">might</span><span class="style1"> also be an indication that the link has gone down. In this case the script can be stopped as usual with Command-Period.This stack consideres all messages that have appeared in the subject field to be read. In other words, it only remembers the highest message number seen so far.</span><span class="style4">Requirements</span><span class="style8">HyperCard 2.0</span><span class="style1"> or later, </span><span class="style8">System 7.0</span><span class="style1"> or later (you may be able to use it on earlier systems but this is not supported), </span><span class="style8">MacTCP</span><span class="style1"> (and </span><span class="style8">MacTCP Tool</span><span class="style1"> if you are using theCTB).</span><span class="style4">Changes</span><span class="style1">New in 1.1: Better handling of slow servers. Better pre-setting of header fields when replying. Ability to operate CTB-less.Fixes in 1.1.1: Better handling of the 'Server' and 'Exclude' fields in the Configuration card. Better error message on unresolvable hostnames.New in 1.2: Option-click the article field to do a Rot13 transformation. Inhibit multiple insertions of a group into the groups field. Some user interface tweaking for scrolling the group and subject fields. Some timeout constant adjustment. Added an archival stack for storing news articles.New in 1.3: Handle more groups on the configuration card. Some user interface improvements in the browser (mainly menu handling).New in 1.4: Better handling of unread messages, when the accumulated size of the subject lines is greater 30kB. Ask before discarding composed but unsent messages.</span><span class="style4">Warning</span><span class="style1">This stack has only been tested with HyperCard 2.x under Sytem 7.0 on a Mac IIfx. Since it uses Balloon Help, the CTB and a card size larger than the standard 9" size it might not work well in other configurations. You have been warned.</span><span class="style4">Copying</span><span class="style1">This stack may be freely copied for non commercial purposes only. Let me know about bugs, misfeatures or features you would like to see implemented. </span><span class="style4">Credits</span><span class="style1">HCBalloon 1.2 by Len Saaf ┬⌐1991</span><span class="style12"></span><span class="style1">MacTCP XCMDs and XFNCs ┬⌐ Apple Computer, Inc.</span><span class="style6"></span><span class="style1">From the HC MacTCP Info file of the HyperCard MacTCP Toolkit:</span><span class="style3">In order to use any part of the source or object code contained in this ToolKit in a commercial product, you must first obtain a license from Apple Computer.</span><span class="style11"></span><span class="style12"></span><span class="style1">CTB XCMDs and XFNCs ┬⌐ Apple Computer, Inc.From the Read Me First file of the HyperCard CTB Toolkit:</span><span class="style3">A license from Apple is required if source code, XCMDs, or XFCNs supplied with this product is to be used in commercial applications.  Contact Apple Software Licensing for more information.</span><span class="style7">Dipl.Ing. Georg Gollmann           gollmann@edvz.tuwien.ac.atTU-Wien, EDV-Zentrum               +43 (222) 58801/3611 (voice)Gusshausstr. 25                    +43 (222) 505 68 49  (fax)A-1040 Wien, Austria</span></text>
  590.     </content>
  591.     <name>help</name>
  592.     <script></script>
  593. </card>
  594.  
  595.  
  596. card_4116.xml
  597. <?xml version="1.0" encoding="utf-8" ?>
  598. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  599. <card>
  600.     <id>4116</id>
  601.     <filler1>0</filler1>
  602.     <bitmap>BMAP_2907.pbm</bitmap>
  603.     <cantDelete> <false /> </cantDelete>
  604.     <showPict> <true /> </showPict>
  605.     <dontSearch> <false /> </dontSearch>
  606.     <owner>2648</owner>
  607.     <link rel="stylesheet" type="text/css" href="stylesheet_3319.css" />
  608.     <part>
  609.         <id>1</id>
  610.         <type>field</type>
  611.         <visible> <false /> </visible>
  612.         <dontWrap> <true /> </dontWrap>
  613.         <dontSearch> <false /> </dontSearch>
  614.         <sharedText> <false /> </sharedText>
  615.         <fixedLineHeight> <false /> </fixedLineHeight>
  616.         <autoTab> <false /> </autoTab>
  617.         <lockText> <true /> </lockText>
  618.         <rect>
  619.             <left>266</left>
  620.             <top>49</top>
  621.             <right>497</right>
  622.             <bottom>277</bottom>
  623.         </rect>
  624.         <style>scrolling</style>
  625.         <autoSelect> <false /> </autoSelect>
  626.         <showLines> <false /> </showLines>
  627.         <wideMargins> <true /> </wideMargins>
  628.         <multipleLines> <false /> </multipleLines>
  629.         <reservedFamily> 0 </reservedFamily>
  630.         <titleWidth>0</titleWidth>
  631.         <icon>0</icon>
  632.         <textAlign>left</textAlign>
  633.         <font>Geneva</font>
  634.         <textSize>10</textSize>
  635.         <textStyle>plain</textStyle>
  636.         <textHeight>13</textHeight>
  637.         <name>NewsGroups 2</name>
  638.         <script>on mouseDownselectAGroupend mouseDownon mouseEnterselectBalloonend mouseEnter</script>
  639.     </part>
  640.     <part>
  641.         <id>17</id>
  642.         <type>field</type>
  643.         <visible> <true /> </visible>
  644.         <dontWrap> <false /> </dontWrap>
  645.         <dontSearch> <false /> </dontSearch>
  646.         <sharedText> <false /> </sharedText>
  647.         <fixedLineHeight> <false /> </fixedLineHeight>
  648.         <autoTab> <true /> </autoTab>
  649.         <lockText> <false /> </lockText>
  650.         <rect>
  651.             <left>87</left>
  652.             <top>97</top>
  653.             <right>262</right>
  654.             <bottom>113</bottom>
  655.         </rect>
  656.         <style>transparent</style>
  657.         <autoSelect> <false /> </autoSelect>
  658.         <showLines> <false /> </showLines>
  659.         <wideMargins> <false /> </wideMargins>
  660.         <multipleLines> <false /> </multipleLines>
  661.         <reservedFamily> 0 </reservedFamily>
  662.         <titleWidth>0</titleWidth>
  663.         <icon>0</icon>
  664.         <textAlign>left</textAlign>
  665.         <font>Monaco</font>
  666.         <textSize>9</textSize>
  667.         <textStyle>plain</textStyle>
  668.         <textHeight>12</textHeight>
  669.         <name>server</name>
  670.         <script>on mouseEnterHCBalloon "Enter the domain name of the news server here."end mouseEnteron closeFieldCommunicationsChangedend closeField</script>
  671.     </part>
  672.     <part>
  673.         <id>8</id>
  674.         <type>button</type>
  675.         <visible> <true /> </visible>
  676.         <reserved5> 0 </reserved5>
  677.         <reserved4> 0 </reserved4>
  678.         <reserved3> 0 </reserved3>
  679.         <reserved2> 0 </reserved2>
  680.         <reserved1> 0 </reserved1>
  681.         <enabled> <true /> </enabled>
  682.         <rect>
  683.             <left>42</left>
  684.             <top>227</top>
  685.             <right>214</right>
  686.             <bottom>249</bottom>
  687.         </rect>
  688.         <style>roundrect</style>
  689.         <showName> <true /> </showName>
  690.         <highlight> <false /> </highlight>
  691.         <autoHighlight> <true /> </autoHighlight>
  692.         <sharedHighlight> <true /> </sharedHighlight>
  693.         <family>0</family>
  694.         <titleWidth>0</titleWidth>
  695.         <icon>0</icon>
  696.         <textAlign>center</textAlign>
  697.         <font>Chicago</font>
  698.         <textSize>12</textSize>
  699.         <textStyle>plain</textStyle>
  700.         <name>Fetch Newsgroups List</name>
  701.         <script>on mouseUpsendLine "LIST"get fetchLine()if first char of it is not "2" thenput itexit mouseUpend ifput empty into theGroupslock screenrepeatset cursor to busyget fetchLine()if first char of it is "." then exit repeatget first word of itput it & return after theGroupsend repeatsort theGroupsdelete last char of theGroups  -- get rid of trailing return-- distribute to the "Newsgroups n" fieldsget number of lines of theGroupsput round(it / last word of cd fld "Counter") + 1 into splitPointrepeat with i = 1 to last word of cd fld "Counter"put line (splitPoint * (i - 1) + 1) to (splitPoint * i) ┬¼of theGroups into cd fld ("NewsGroups" && i)end repeatend mouseUpon mouseEnterHCBalloon "Click to fetch the current list of newsgroups from the server."end mouseEnter</script>
  702.     </part>
  703.     <part>
  704.         <id>14</id>
  705.         <type>field</type>
  706.         <visible> <true /> </visible>
  707.         <dontWrap> <false /> </dontWrap>
  708.         <dontSearch> <false /> </dontSearch>
  709.         <sharedText> <false /> </sharedText>
  710.         <fixedLineHeight> <false /> </fixedLineHeight>
  711.         <autoTab> <false /> </autoTab>
  712.         <lockText> <true /> </lockText>
  713.         <rect>
  714.             <left>22</left>
  715.             <top>97</top>
  716.             <right>87</right>
  717.             <bottom>113</bottom>
  718.         </rect>
  719.         <style>transparent</style>
  720.         <autoSelect> <false /> </autoSelect>
  721.         <showLines> <false /> </showLines>
  722.         <wideMargins> <false /> </wideMargins>
  723.         <multipleLines> <false /> </multipleLines>
  724.         <reservedFamily> 0 </reservedFamily>
  725.         <titleWidth>0</titleWidth>
  726.         <icon>0</icon>
  727.         <textAlign>right</textAlign>
  728.         <font>Monaco</font>
  729.         <textSize>9</textSize>
  730.         <textStyle>plain</textStyle>
  731.         <textHeight>12</textHeight>
  732.         <name></name>
  733.         <script></script>
  734.     </part>
  735.     <part>
  736.         <id>18</id>
  737.         <type>field</type>
  738.         <visible> <false /> </visible>
  739.         <dontWrap> <false /> </dontWrap>
  740.         <dontSearch> <false /> </dontSearch>
  741.         <sharedText> <false /> </sharedText>
  742.         <fixedLineHeight> <false /> </fixedLineHeight>
  743.         <autoTab> <false /> </autoTab>
  744.         <lockText> <false /> </lockText>
  745.         <rect>
  746.             <left>322</left>
  747.             <top>90</top>
  748.             <right>434</right>
  749.             <bottom>111</bottom>
  750.         </rect>
  751.         <style>rectangle</style>
  752.         <autoSelect> <false /> </autoSelect>
  753.         <showLines> <false /> </showLines>
  754.         <wideMargins> <false /> </wideMargins>
  755.         <multipleLines> <false /> </multipleLines>
  756.         <reservedFamily> 0 </reservedFamily>
  757.         <titleWidth>0</titleWidth>
  758.         <icon>0</icon>
  759.         <textAlign>left</textAlign>
  760.         <font>Geneva</font>
  761.         <textSize>12</textSize>
  762.         <textStyle>plain</textStyle>
  763.         <textHeight>16</textHeight>
  764.         <name>sortSubjects</name>
  765.         <script></script>
  766.     </part>
  767.     <part>
  768.         <id>22</id>
  769.         <type>field</type>
  770.         <visible> <true /> </visible>
  771.         <dontWrap> <false /> </dontWrap>
  772.         <dontSearch> <false /> </dontSearch>
  773.         <sharedText> <false /> </sharedText>
  774.         <fixedLineHeight> <false /> </fixedLineHeight>
  775.         <autoTab> <false /> </autoTab>
  776.         <lockText> <true /> </lockText>
  777.         <rect>
  778.             <left>347</left>
  779.             <top>322</top>
  780.             <right>411</right>
  781.             <bottom>337</bottom>
  782.         </rect>
  783.         <style>transparent</style>
  784.         <autoSelect> <false /> </autoSelect>
  785.         <showLines> <false /> </showLines>
  786.         <wideMargins> <false /> </wideMargins>
  787.         <multipleLines> <false /> </multipleLines>
  788.         <reservedFamily> 0 </reservedFamily>
  789.         <titleWidth>0</titleWidth>
  790.         <icon>0</icon>
  791.         <textAlign>right</textAlign>
  792.         <font>Monaco</font>
  793.         <textSize>9</textSize>
  794.         <textStyle>plain</textStyle>
  795.         <textHeight>12</textHeight>
  796.         <name></name>
  797.         <script></script>
  798.     </part>
  799.     <part>
  800.         <id>26</id>
  801.         <type>field</type>
  802.         <visible> <true /> </visible>
  803.         <dontWrap> <true /> </dontWrap>
  804.         <dontSearch> <false /> </dontSearch>
  805.         <sharedText> <false /> </sharedText>
  806.         <fixedLineHeight> <false /> </fixedLineHeight>
  807.         <autoTab> <true /> </autoTab>
  808.         <lockText> <false /> </lockText>
  809.         <rect>
  810.             <left>81</left>
  811.             <top>322</top>
  812.             <right>347</right>
  813.             <bottom>337</bottom>
  814.         </rect>
  815.         <style>opaque</style>
  816.         <autoSelect> <false /> </autoSelect>
  817.         <showLines> <false /> </showLines>
  818.         <wideMargins> <false /> </wideMargins>
  819.         <multipleLines> <false /> </multipleLines>
  820.         <reservedFamily> 0 </reservedFamily>
  821.         <titleWidth>0</titleWidth>
  822.         <icon>0</icon>
  823.         <textAlign>left</textAlign>
  824.         <font>Monaco</font>
  825.         <textSize>9</textSize>
  826.         <textStyle>plain</textStyle>
  827.         <textHeight>12</textHeight>
  828.         <name>Host</name>
  829.         <script>on mouseEnterHCBalloon "Enter the domain name of your machine here."end mouseEnter</script>
  830.     </part>
  831.     <part>
  832.         <id>25</id>
  833.         <type>field</type>
  834.         <visible> <true /> </visible>
  835.         <dontWrap> <true /> </dontWrap>
  836.         <dontSearch> <false /> </dontSearch>
  837.         <sharedText> <false /> </sharedText>
  838.         <fixedLineHeight> <false /> </fixedLineHeight>
  839.         <autoTab> <true /> </autoTab>
  840.         <lockText> <false /> </lockText>
  841.         <rect>
  842.             <left>411</left>
  843.             <top>322</top>
  844.             <right>497</right>
  845.             <bottom>337</bottom>
  846.         </rect>
  847.         <style>opaque</style>
  848.         <autoSelect> <false /> </autoSelect>
  849.         <showLines> <false /> </showLines>
  850.         <wideMargins> <false /> </wideMargins>
  851.         <multipleLines> <false /> </multipleLines>
  852.         <reservedFamily> 0 </reservedFamily>
  853.         <titleWidth>0</titleWidth>
  854.         <icon>0</icon>
  855.         <textAlign>left</textAlign>
  856.         <font>Monaco</font>
  857.         <textSize>9</textSize>
  858.         <textStyle>plain</textStyle>
  859.         <textHeight>12</textHeight>
  860.         <name>Timezone</name>
  861.         <script>on mouseEnterHCBalloon "Enter your timezone here."end mouseEnter</script>
  862.     </part>
  863.     <part>
  864.         <id>27</id>
  865.         <type>field</type>
  866.         <visible> <true /> </visible>
  867.         <dontWrap> <false /> </dontWrap>
  868.         <dontSearch> <false /> </dontSearch>
  869.         <sharedText> <false /> </sharedText>
  870.         <fixedLineHeight> <false /> </fixedLineHeight>
  871.         <autoTab> <false /> </autoTab>
  872.         <lockText> <true /> </lockText>
  873.         <rect>
  874.             <left>7</left>
  875.             <top>322</top>
  876.             <right>81</right>
  877.             <bottom>337</bottom>
  878.         </rect>
  879.         <style>transparent</style>
  880.         <autoSelect> <false /> </autoSelect>
  881.         <showLines> <false /> </showLines>
  882.         <wideMargins> <false /> </wideMargins>
  883.         <multipleLines> <false /> </multipleLines>
  884.         <reservedFamily> 0 </reservedFamily>
  885.         <titleWidth>0</titleWidth>
  886.         <icon>0</icon>
  887.         <textAlign>right</textAlign>
  888.         <font>Monaco</font>
  889.         <textSize>9</textSize>
  890.         <textStyle>plain</textStyle>
  891.         <textHeight>12</textHeight>
  892.         <name></name>
  893.         <script></script>
  894.     </part>
  895.     <part>
  896.         <id>28</id>
  897.         <type>button</type>
  898.         <visible> <true /> </visible>
  899.         <reserved5> 0 </reserved5>
  900.         <reserved4> 0 </reserved4>
  901.         <reserved3> 0 </reserved3>
  902.         <reserved2> 0 </reserved2>
  903.         <reserved1> 0 </reserved1>
  904.         <enabled> <true /> </enabled>
  905.         <rect>
  906.             <left>475</left>
  907.             <top>0</top>
  908.             <right>500</right>
  909.             <bottom>24</bottom>
  910.         </rect>
  911.         <style>transparent</style>
  912.         <showName> <false /> </showName>
  913.         <highlight> <false /> </highlight>
  914.         <autoHighlight> <true /> </autoHighlight>
  915.         <sharedHighlight> <true /> </sharedHighlight>
  916.         <family>0</family>
  917.         <titleWidth>0</titleWidth>
  918.         <icon>1012</icon>
  919.         <textAlign>center</textAlign>
  920.         <font>Chicago</font>
  921.         <textSize>12</textSize>
  922.         <textStyle>plain</textStyle>
  923.         <name></name>
  924.         <script>on mouseUpgo to card "browser"end mouseUpon mouseEnterHCBalloon "Return to the news browser."end mouseEnter</script>
  925.     </part>
  926.     <part>
  927.         <id>29</id>
  928.         <type>field</type>
  929.         <visible> <true /> </visible>
  930.         <dontWrap> <false /> </dontWrap>
  931.         <dontSearch> <false /> </dontSearch>
  932.         <sharedText> <false /> </sharedText>
  933.         <fixedLineHeight> <false /> </fixedLineHeight>
  934.         <autoTab> <false /> </autoTab>
  935.         <lockText> <true /> </lockText>
  936.         <rect>
  937.             <left>13</left>
  938.             <top>336</top>
  939.             <right>81</right>
  940.             <bottom>350</bottom>
  941.         </rect>
  942.         <style>transparent</style>
  943.         <autoSelect> <false /> </autoSelect>
  944.         <showLines> <false /> </showLines>
  945.         <wideMargins> <false /> </wideMargins>
  946.         <multipleLines> <false /> </multipleLines>
  947.         <reservedFamily> 0 </reservedFamily>
  948.         <titleWidth>0</titleWidth>
  949.         <icon>0</icon>
  950.         <textAlign>right</textAlign>
  951.         <font>Monaco</font>
  952.         <textSize>9</textSize>
  953.         <textStyle>plain</textStyle>
  954.         <textHeight>12</textHeight>
  955.         <name></name>
  956.         <script></script>
  957.     </part>
  958.     <part>
  959.         <id>30</id>
  960.         <type>field</type>
  961.         <visible> <true /> </visible>
  962.         <dontWrap> <true /> </dontWrap>
  963.         <dontSearch> <false /> </dontSearch>
  964.         <sharedText> <false /> </sharedText>
  965.         <fixedLineHeight> <false /> </fixedLineHeight>
  966.         <autoTab> <true /> </autoTab>
  967.         <lockText> <false /> </lockText>
  968.         <rect>
  969.             <left>14</left>
  970.             <top>350</top>
  971.             <right>499</right>
  972.             <bottom>429</bottom>
  973.         </rect>
  974.         <style>rectangle</style>
  975.         <autoSelect> <false /> </autoSelect>
  976.         <showLines> <false /> </showLines>
  977.         <wideMargins> <false /> </wideMargins>
  978.         <multipleLines> <false /> </multipleLines>
  979.         <reservedFamily> 0 </reservedFamily>
  980.         <titleWidth>0</titleWidth>
  981.         <icon>0</icon>
  982.         <textAlign>left</textAlign>
  983.         <font>Monaco</font>
  984.         <textSize>9</textSize>
  985.         <textStyle>plain</textStyle>
  986.         <textHeight>12</textHeight>
  987.         <name>Signature</name>
  988.         <script>on mouseEnterHCBalloon "The contents of this field will be appended to all messages you send."end mouseEnter</script>
  989.     </part>
  990.     <part>
  991.         <id>31</id>
  992.         <type>field</type>
  993.         <visible> <true /> </visible>
  994.         <dontWrap> <false /> </dontWrap>
  995.         <dontSearch> <false /> </dontSearch>
  996.         <sharedText> <false /> </sharedText>
  997.         <fixedLineHeight> <false /> </fixedLineHeight>
  998.         <autoTab> <false /> </autoTab>
  999.         <lockText> <true /> </lockText>
  1000.         <rect>
  1001.             <left>0</left>
  1002.             <top>300</top>
  1003.             <right>107</right>
  1004.             <bottom>315</bottom>
  1005.         </rect>
  1006.         <style>opaque</style>
  1007.         <autoSelect> <false /> </autoSelect>
  1008.         <showLines> <false /> </showLines>
  1009.         <wideMargins> <false /> </wideMargins>
  1010.         <multipleLines> <false /> </multipleLines>
  1011.         <reservedFamily> 0 </reservedFamily>
  1012.         <titleWidth>0</titleWidth>
  1013.         <icon>0</icon>
  1014.         <textAlign>left</textAlign>
  1015.         <font>Monaco</font>
  1016.         <textSize>9</textSize>
  1017.         <textStyle>bold</textStyle>
  1018.         <textHeight>12</textHeight>
  1019.         <name></name>
  1020.         <script></script>
  1021.     </part>
  1022.     <part>
  1023.         <id>32</id>
  1024.         <type>field</type>
  1025.         <visible> <true /> </visible>
  1026.         <dontWrap> <false /> </dontWrap>
  1027.         <dontSearch> <false /> </dontSearch>
  1028.         <sharedText> <false /> </sharedText>
  1029.         <fixedLineHeight> <false /> </fixedLineHeight>
  1030.         <autoTab> <false /> </autoTab>
  1031.         <lockText> <true /> </lockText>
  1032.         <rect>
  1033.             <left>0</left>
  1034.             <top>20</top>
  1035.             <right>127</right>
  1036.             <bottom>35</bottom>
  1037.         </rect>
  1038.         <style>opaque</style>
  1039.         <autoSelect> <false /> </autoSelect>
  1040.         <showLines> <false /> </showLines>
  1041.         <wideMargins> <false /> </wideMargins>
  1042.         <multipleLines> <false /> </multipleLines>
  1043.         <reservedFamily> 0 </reservedFamily>
  1044.         <titleWidth>0</titleWidth>
  1045.         <icon>0</icon>
  1046.         <textAlign>left</textAlign>
  1047.         <font>Monaco</font>
  1048.         <textSize>9</textSize>
  1049.         <textStyle>bold</textStyle>
  1050.         <textHeight>12</textHeight>
  1051.         <name></name>
  1052.         <script></script>
  1053.     </part>
  1054.     <part>
  1055.         <id>33</id>
  1056.         <type>button</type>
  1057.         <visible> <true /> </visible>
  1058.         <reserved5> 0 </reserved5>
  1059.         <reserved4> 0 </reserved4>
  1060.         <reserved3> 0 </reserved3>
  1061.         <reserved2> 0 </reserved2>
  1062.         <reserved1> 0 </reserved1>
  1063.         <enabled> <true /> </enabled>
  1064.         <rect>
  1065.             <left>39</left>
  1066.             <top>64</top>
  1067.             <right>172</right>
  1068.             <bottom>79</bottom>
  1069.         </rect>
  1070.         <style>checkbox</style>
  1071.         <showName> <true /> </showName>
  1072.         <highlight> <true /> </highlight>
  1073.         <autoHighlight> <true /> </autoHighlight>
  1074.         <sharedHighlight> <true /> </sharedHighlight>
  1075.         <family>0</family>
  1076.         <titleWidth>0</titleWidth>
  1077.         <icon>0</icon>
  1078.         <textAlign>center</textAlign>
  1079.         <font>Monaco</font>
  1080.         <textSize>9</textSize>
  1081.         <textStyle>plain</textStyle>
  1082.         <name>Sort Subject Lines</name>
  1083.         <script>on mouseEnterHCBalloon "Ckeck this box to sort the subject lines in the news browser."end mouseEnter</script>
  1084.     </part>
  1085.     <part>
  1086.         <id>39</id>
  1087.         <type>button</type>
  1088.         <visible> <true /> </visible>
  1089.         <reserved5> 0 </reserved5>
  1090.         <reserved4> 0 </reserved4>
  1091.         <reserved3> 0 </reserved3>
  1092.         <reserved2> 0 </reserved2>
  1093.         <reserved1> 0 </reserved1>
  1094.         <enabled> <true /> </enabled>
  1095.         <rect>
  1096.             <left>443</left>
  1097.             <top>2</top>
  1098.             <right>474</right>
  1099.             <bottom>26</bottom>
  1100.         </rect>
  1101.         <style>transparent</style>
  1102.         <showName> <false /> </showName>
  1103.         <highlight> <false /> </highlight>
  1104.         <autoHighlight> <true /> </autoHighlight>
  1105.         <sharedHighlight> <true /> </sharedHighlight>
  1106.         <family>0</family>
  1107.         <titleWidth>0</titleWidth>
  1108.         <icon>25002</icon>
  1109.         <textAlign>center</textAlign>
  1110.         <font>Chicago</font>
  1111.         <textSize>12</textSize>
  1112.         <textStyle>plain</textStyle>
  1113.         <name></name>
  1114.         <script>on mouseUphelpend mouseUpon mouseEnterHCBalloon "Display help information."end mouseEnter</script>
  1115.     </part>
  1116.     <part>
  1117.         <id>42</id>
  1118.         <type>button</type>
  1119.         <visible> <true /> </visible>
  1120.         <reserved5> 0 </reserved5>
  1121.         <reserved4> 0 </reserved4>
  1122.         <reserved3> 0 </reserved3>
  1123.         <reserved2> 0 </reserved2>
  1124.         <reserved1> 0 </reserved1>
  1125.         <enabled> <true /> </enabled>
  1126.         <rect>
  1127.             <left>278</left>
  1128.             <top>7</top>
  1129.             <right>366</right>
  1130.             <bottom>22</bottom>
  1131.         </rect>
  1132.         <style>radiobutton</style>
  1133.         <showName> <true /> </showName>
  1134.         <highlight> <true /> </highlight>
  1135.         <autoHighlight> <true /> </autoHighlight>
  1136.         <sharedHighlight> <true /> </sharedHighlight>
  1137.         <family>0</family>
  1138.         <titleWidth>0</titleWidth>
  1139.         <icon>0</icon>
  1140.         <textAlign>center</textAlign>
  1141.         <font>Monaco</font>
  1142.         <textSize>9</textSize>
  1143.         <textStyle>plain</textStyle>
  1144.         <name>Use MacTCP</name>
  1145.         <script>on mouseEnterHCBalloon "Choose this option to just use MacTCP."end mouseEnteron mouseUpset hilite of btn "Use CTB" to not the hilite of meCommunicationsChangedend mouseUp</script>
  1146.     </part>
  1147.     <part>
  1148.         <id>43</id>
  1149.         <type>button</type>
  1150.         <visible> <true /> </visible>
  1151.         <reserved5> 0 </reserved5>
  1152.         <reserved4> 0 </reserved4>
  1153.         <reserved3> 0 </reserved3>
  1154.         <reserved2> 0 </reserved2>
  1155.         <reserved1> 0 </reserved1>
  1156.         <enabled> <true /> </enabled>
  1157.         <rect>
  1158.             <left>184</left>
  1159.             <top>7</top>
  1160.             <right>253</right>
  1161.             <bottom>22</bottom>
  1162.         </rect>
  1163.         <style>radiobutton</style>
  1164.         <showName> <true /> </showName>
  1165.         <highlight> <false /> </highlight>
  1166.         <autoHighlight> <true /> </autoHighlight>
  1167.         <sharedHighlight> <true /> </sharedHighlight>
  1168.         <family>0</family>
  1169.         <titleWidth>0</titleWidth>
  1170.         <icon>0</icon>
  1171.         <textAlign>center</textAlign>
  1172.         <font>Monaco</font>
  1173.         <textSize>9</textSize>
  1174.         <textStyle>plain</textStyle>
  1175.         <name>Use CTB</name>
  1176.         <script>on mouseEnterHCBalloon "Choose this option to use the Communications Toolbox. " &  ┬¼"You will need MacTCP and MacTCP Tool."end mouseEnteron mouseUpset hilite of btn "Use MacTCP" to not the hilite of meCommunicationsChangedend mouseUp</script>
  1177.     </part>
  1178.     <part>
  1179.         <id>44</id>
  1180.         <type>field</type>
  1181.         <visible> <true /> </visible>
  1182.         <dontWrap> <true /> </dontWrap>
  1183.         <dontSearch> <false /> </dontSearch>
  1184.         <sharedText> <false /> </sharedText>
  1185.         <fixedLineHeight> <false /> </fixedLineHeight>
  1186.         <autoTab> <false /> </autoTab>
  1187.         <lockText> <true /> </lockText>
  1188.         <rect>
  1189.             <left>266</left>
  1190.             <top>49</top>
  1191.             <right>497</right>
  1192.             <bottom>277</bottom>
  1193.         </rect>
  1194.         <style>scrolling</style>
  1195.         <autoSelect> <false /> </autoSelect>
  1196.         <showLines> <false /> </showLines>
  1197.         <wideMargins> <true /> </wideMargins>
  1198.         <multipleLines> <false /> </multipleLines>
  1199.         <reservedFamily> 0 </reservedFamily>
  1200.         <titleWidth>0</titleWidth>
  1201.         <icon>0</icon>
  1202.         <textAlign>left</textAlign>
  1203.         <font>Geneva</font>
  1204.         <textSize>10</textSize>
  1205.         <textStyle>plain</textStyle>
  1206.         <textHeight>13</textHeight>
  1207.         <name>NewsGroups 1</name>
  1208.         <script>on mouseDownselectAGroupend mouseDownon mouseEnterselectBalloonend mouseEnter</script>
  1209.     </part>
  1210.     <part>
  1211.         <id>45</id>
  1212.         <type>button</type>
  1213.         <visible> <true /> </visible>
  1214.         <reserved5> 0 </reserved5>
  1215.         <reserved4> 0 </reserved4>
  1216.         <reserved3> 0 </reserved3>
  1217.         <reserved2> 0 </reserved2>
  1218.         <reserved1> 0 </reserved1>
  1219.         <enabled> <true /> </enabled>
  1220.         <rect>
  1221.             <left>339</left>
  1222.             <top>277</top>
  1223.             <right>360</right>
  1224.             <bottom>299</bottom>
  1225.         </rect>
  1226.         <style>transparent</style>
  1227.         <showName> <false /> </showName>
  1228.         <highlight> <false /> </highlight>
  1229.         <autoHighlight> <true /> </autoHighlight>
  1230.         <sharedHighlight> <true /> </sharedHighlight>
  1231.         <family>0</family>
  1232.         <titleWidth>0</titleWidth>
  1233.         <icon>15420</icon>
  1234.         <textAlign>center</textAlign>
  1235.         <font>Chicago</font>
  1236.         <textSize>12</textSize>
  1237.         <textStyle>plain</textStyle>
  1238.         <name></name>
  1239.         <script>on mouseUplock screenhideCurrentFieldget first word of cd fld "Counter"subtract 1 from itif it < 1 then put last word of cd fld "Counter" into itput it into first word of cd fld "Counter"showCurrentFieldunlock screen with visual effect wipe rightend mouseUp</script>
  1240.     </part>
  1241.     <part>
  1242.         <id>46</id>
  1243.         <type>button</type>
  1244.         <visible> <true /> </visible>
  1245.         <reserved5> 0 </reserved5>
  1246.         <reserved4> 0 </reserved4>
  1247.         <reserved3> 0 </reserved3>
  1248.         <reserved2> 0 </reserved2>
  1249.         <reserved1> 0 </reserved1>
  1250.         <enabled> <true /> </enabled>
  1251.         <rect>
  1252.             <left>399</left>
  1253.             <top>277</top>
  1254.             <right>420</right>
  1255.             <bottom>299</bottom>
  1256.         </rect>
  1257.         <style>transparent</style>
  1258.         <showName> <false /> </showName>
  1259.         <highlight> <false /> </highlight>
  1260.         <autoHighlight> <true /> </autoHighlight>
  1261.         <sharedHighlight> <true /> </sharedHighlight>
  1262.         <family>0</family>
  1263.         <titleWidth>0</titleWidth>
  1264.         <icon>16560</icon>
  1265.         <textAlign>center</textAlign>
  1266.         <font>Chicago</font>
  1267.         <textSize>12</textSize>
  1268.         <textStyle>plain</textStyle>
  1269.         <name></name>
  1270.         <script>on mouseUplock screenhideCurrentFieldget first word of cd fld "Counter"add 1 to itif it > last word of cd fld "Counter" then put 1 into itput it into first word of cd fld "Counter"showCurrentFieldunlock screen with visual effect wipe leftend mouseUp</script>
  1271.     </part>
  1272.     <part>
  1273.         <id>47</id>
  1274.         <type>field</type>
  1275.         <visible> <true /> </visible>
  1276.         <dontWrap> <false /> </dontWrap>
  1277.         <dontSearch> <false /> </dontSearch>
  1278.         <sharedText> <false /> </sharedText>
  1279.         <fixedLineHeight> <false /> </fixedLineHeight>
  1280.         <autoTab> <false /> </autoTab>
  1281.         <lockText> <true /> </lockText>
  1282.         <rect>
  1283.             <left>360</left>
  1284.             <top>282</top>
  1285.             <right>398</right>
  1286.             <bottom>297</bottom>
  1287.         </rect>
  1288.         <style>transparent</style>
  1289.         <autoSelect> <false /> </autoSelect>
  1290.         <showLines> <false /> </showLines>
  1291.         <wideMargins> <false /> </wideMargins>
  1292.         <multipleLines> <false /> </multipleLines>
  1293.         <reservedFamily> 0 </reservedFamily>
  1294.         <titleWidth>0</titleWidth>
  1295.         <icon>0</icon>
  1296.         <textAlign>center</textAlign>
  1297.         <font>Geneva</font>
  1298.         <textSize>10</textSize>
  1299.         <textStyle>plain</textStyle>
  1300.         <textHeight>13</textHeight>
  1301.         <name>Counter</name>
  1302.         <script></script>
  1303.     </part>
  1304.     <part>
  1305.         <id>48</id>
  1306.         <type>field</type>
  1307.         <visible> <false /> </visible>
  1308.         <dontWrap> <true /> </dontWrap>
  1309.         <dontSearch> <false /> </dontSearch>
  1310.         <sharedText> <false /> </sharedText>
  1311.         <fixedLineHeight> <false /> </fixedLineHeight>
  1312.         <autoTab> <false /> </autoTab>
  1313.         <lockText> <true /> </lockText>
  1314.         <rect>
  1315.             <left>266</left>
  1316.             <top>49</top>
  1317.             <right>497</right>
  1318.             <bottom>277</bottom>
  1319.         </rect>
  1320.         <style>scrolling</style>
  1321.         <autoSelect> <false /> </autoSelect>
  1322.         <showLines> <false /> </showLines>
  1323.         <wideMargins> <true /> </wideMargins>
  1324.         <multipleLines> <false /> </multipleLines>
  1325.         <reservedFamily> 0 </reservedFamily>
  1326.         <titleWidth>0</titleWidth>
  1327.         <icon>0</icon>
  1328.         <textAlign>left</textAlign>
  1329.         <font>Geneva</font>
  1330.         <textSize>10</textSize>
  1331.         <textStyle>plain</textStyle>
  1332.         <textHeight>13</textHeight>
  1333.         <name>NewsGroups 3</name>
  1334.         <script>on mouseDownselectAGroupend mouseDownon mouseEnterselectBalloonend mouseEnter</script>
  1335.     </part>
  1336.     <part>
  1337.         <id>49</id>
  1338.         <type>field</type>
  1339.         <visible> <false /> </visible>
  1340.         <dontWrap> <true /> </dontWrap>
  1341.         <dontSearch> <false /> </dontSearch>
  1342.         <sharedText> <false /> </sharedText>
  1343.         <fixedLineHeight> <false /> </fixedLineHeight>
  1344.         <autoTab> <false /> </autoTab>
  1345.         <lockText> <true /> </lockText>
  1346.         <rect>
  1347.             <left>266</left>
  1348.             <top>49</top>
  1349.             <right>497</right>
  1350.             <bottom>277</bottom>
  1351.         </rect>
  1352.         <style>scrolling</style>
  1353.         <autoSelect> <false /> </autoSelect>
  1354.         <showLines> <false /> </showLines>
  1355.         <wideMargins> <true /> </wideMargins>
  1356.         <multipleLines> <false /> </multipleLines>
  1357.         <reservedFamily> 0 </reservedFamily>
  1358.         <titleWidth>0</titleWidth>
  1359.         <icon>0</icon>
  1360.         <textAlign>left</textAlign>
  1361.         <font>Geneva</font>
  1362.         <textSize>10</textSize>
  1363.         <textStyle>plain</textStyle>
  1364.         <textHeight>13</textHeight>
  1365.         <name>NewsGroups 4</name>
  1366.         <script>on mouseDownselectAGroupend mouseDownon mouseEnterselectBalloonend mouseEnter</script>
  1367.     </part>
  1368.     <content>
  1369.         <layer>card</layer>
  1370.         <id>14</id>
  1371.         <text>Server:</text>
  1372.     </content>
  1373.     <content>
  1374.         <layer>card</layer>
  1375.         <id>18</id>
  1376.         <text>true</text>
  1377.     </content>
  1378.     <content>
  1379.         <layer>card</layer>
  1380.         <id>22</id>
  1381.         <text>Timezone:</text>
  1382.     </content>
  1383.     <content>
  1384.         <layer>card</layer>
  1385.         <id>27</id>
  1386.         <text>Local host:</text>
  1387.     </content>
  1388.     <content>
  1389.         <layer>card</layer>
  1390.         <id>29</id>
  1391.         <text>Signature:</text>
  1392.     </content>
  1393.     <content>
  1394.         <layer>card</layer>
  1395.         <id>31</id>
  1396.         <text>Posting Setup:</text>
  1397.     </content>
  1398.     <content>
  1399.         <layer>card</layer>
  1400.         <id>32</id>
  1401.         <text>Newsreader Setup:</text>
  1402.     </content>
  1403.     <content>
  1404.         <layer>card</layer>
  1405.         <id>47</id>
  1406.         <text>1 / 4</text>
  1407.     </content>
  1408.     <name>setup</name>
  1409.     <script>on CommunicationsChangedanswer "You have to reset the connection for the change to take effect."end CommunicationsChangedon selectAGroupset cursor to watchget the clickLineset textStyle of it to italicput the value of it into groupNameif groupName is in cd fld "groups" of card "browser" thenget cd fld "groups" of card "browser"repeat with i = 1 to number of lines of itif groupName = first word of line i of it then exit selectAGroupend repeatend ifif cd fld "groups" of card "browser" is not empty then ┬¼put return after cd fld "groups" of card "browser"put groupName & "     " after cd fld "groups" of card "browser"sort cd fld "groups" of card "browser"end selectAGroupon selectBalloonHCBalloon "Click on a group to subscribe to it."end selectBalloonon showCurrentFieldshow cd fld ("Newsgroups" && first word of cd fld "Counter")end showCurrentFieldon hideCurrentFieldhide cd fld ("Newsgroups" && first word of cd fld "Counter")end hideCurrentField</script>
  1410. </card>
  1411.  
  1412.  
  1413. card_4571.xml
  1414. <?xml version="1.0" encoding="utf-8" ?>
  1415. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1416. <card>
  1417.     <id>4571</id>
  1418.     <filler1>0</filler1>
  1419.     <cantDelete> <false /> </cantDelete>
  1420.     <showPict> <true /> </showPict>
  1421.     <dontSearch> <false /> </dontSearch>
  1422.     <owner>2648</owner>
  1423.     <link rel="stylesheet" type="text/css" href="stylesheet_3319.css" />
  1424.     <part>
  1425.         <id>1</id>
  1426.         <type>field</type>
  1427.         <visible> <true /> </visible>
  1428.         <dontWrap> <true /> </dontWrap>
  1429.         <dontSearch> <false /> </dontSearch>
  1430.         <sharedText> <false /> </sharedText>
  1431.         <fixedLineHeight> <false /> </fixedLineHeight>
  1432.         <autoTab> <false /> </autoTab>
  1433.         <lockText> <true /> </lockText>
  1434.         <rect>
  1435.             <left>65535</left>
  1436.             <top>65535</top>
  1437.             <right>165</right>
  1438.             <bottom>73</bottom>
  1439.         </rect>
  1440.         <style>scrolling</style>
  1441.         <autoSelect> <false /> </autoSelect>
  1442.         <showLines> <false /> </showLines>
  1443.         <wideMargins> <false /> </wideMargins>
  1444.         <multipleLines> <false /> </multipleLines>
  1445.         <reservedFamily> 0 </reservedFamily>
  1446.         <titleWidth>0</titleWidth>
  1447.         <icon>0</icon>
  1448.         <textAlign>left</textAlign>
  1449.         <font>Geneva</font>
  1450.         <textSize>9</textSize>
  1451.         <textStyle>plain</textStyle>
  1452.         <textHeight>12</textHeight>
  1453.         <name>groups</name>
  1454.         <script>on mouseDownselectGroup the clickLineend mouseDownon selectGroup whichLineglobal theGroup, theSubjectif value of whichLine is empty thenbeepexit selectGroupend ifget second word of whichLineput the optionKey = down into catchUpset textStyle of first word of line theGroup of me to plainset textStyle of first word of line it of me to boldput it into theGroupadjustScroll whichLinesend "closing" to cd fld "subjects"lock screenset cursor to busyget first word of line theGroup of me  -- that┬┤s the group namesendLine "GROUP" && itget fetchLine()if first char of it is not "2" thenput itexit selectGroupend ifput second word of line theGroup of me into lowBoundif lowBound is empty then put fourth word of it after line theGroup of meelse put fourth word of it into second word of line theGroup of meset textStyle of second word of line theGroup of me to italicupdateMenuif catchUp then exit selectGroup -- all doneput fetchText("XHDR subject" && max(lowBound, third word of it) + 1 ┬¼& "-" & fourth word of it) into unReadif the number of chars of unRead > 30000 thenput char 1 to 30000 of unRead into unReaddelete last line of unReadput first word of last line of unRead into second word of line theGroup of meanswer "Only some of the unread messages can be displayed. " & ┬¼"Reselect the group when you are ready to see the rest."end ifif last char of unRead is return then delete last char of unReadput unRead into cd fld "subjects"if the hilite of btn "Sort Subject Lines" of cd "setup" then ┬¼send "sortSubjects" to cd fld "subjects"end selectGroupon closingglobal theGroupif theGroup is not empty then set textStyle of first word of line theGroup of me to plainput empty into theGroupsend "closing" to cd fld "subjects" of card "browser"end closingon deleteGroupglobal theGroupdelete line theGroup of meif last char of me is return then delete last char of meput empty into theGroupsend "closing" to cd fld "subjects"end deleteGroupon unreadGroupglobal theGroupanswer "Unread how much ?" with "Cancel" or "Everything" or "30 Articles"if it is "Everything" then put empty into second word of line theGroup of meelse if it is not "Cancel" thenget second word of line theGroup of meif it is not empty thensubtract 30 from itif it < 0 then put 0 into itput it into second word of line theGroup of meend ifend ifend unreadGroupon mouseEnterHCBalloon "Click a group to display its contents, Option-click to catch up." ┬¼&& "Use Shift-UpArrow and Shift-DownArrow to change the group."end mouseEnter-- eos</script>
  1455.     </part>
  1456.     <part>
  1457.         <id>2</id>
  1458.         <type>field</type>
  1459.         <visible> <true /> </visible>
  1460.         <dontWrap> <true /> </dontWrap>
  1461.         <dontSearch> <false /> </dontSearch>
  1462.         <sharedText> <false /> </sharedText>
  1463.         <fixedLineHeight> <false /> </fixedLineHeight>
  1464.         <autoTab> <false /> </autoTab>
  1465.         <lockText> <true /> </lockText>
  1466.         <rect>
  1467.             <left>164</left>
  1468.             <top>65535</top>
  1469.             <right>513</right>
  1470.             <bottom>73</bottom>
  1471.         </rect>
  1472.         <style>scrolling</style>
  1473.         <autoSelect> <false /> </autoSelect>
  1474.         <showLines> <false /> </showLines>
  1475.         <wideMargins> <false /> </wideMargins>
  1476.         <multipleLines> <false /> </multipleLines>
  1477.         <reservedFamily> 0 </reservedFamily>
  1478.         <titleWidth>0</titleWidth>
  1479.         <icon>0</icon>
  1480.         <textAlign>left</textAlign>
  1481.         <font>Geneva</font>
  1482.         <textSize>9</textSize>
  1483.         <textStyle>plain</textStyle>
  1484.         <textHeight>12</textHeight>
  1485.         <name>subjects</name>
  1486.         <script>on mouseDownselectArticle the clickLineend mouseDownon sortSubjectsset cursor to busylock screenput empty into temprepeat with i = 1 to number of lines of cd fld "subjects"get line i of cd fld "subjects"if second word of it is "re:" thenput space & word 1 to 2 of it after itdelete word 1 to 2 of itelseput space & word 1 of it after itdelete word 1 of itend ifput it & return after tempend repeatset cursor to busysort tempput empty into cd fld "subjects"set cursor to busyrepeat with i = 1 to number of lines of tempget line i of tempif last word of it is "re:" thenput last word of it & space before itdelete last word of itend ifput last word of it & space before itdelete last word of itput it & return after cd fld "subjects"end repeatdelete last char of cd fld "subjects" -- the final "return"end sortSubjectson closingglobal theSubjectput empty into meput empty into theSubjectsend "closing" to cd fld "article" of card "browser"end closingon selectArticle whichLineglobal theSubject, theArticle, postingEnabledif value of whichLine is empty thenbeepexit selectArticleend ifif theSubject is not empty then set textStyle of theSubject to plainset textStyle of whichLine to "bold"put whichLine into theSubjectadjustScroll whichLinesend "closing" to cd fld "article"lock screenset cursor to busyget first word of (value of whichLine)if the optionKey is down thenput fetchText("ARTICLE" && it) into theArticleelseput fetchText("BODY" && it) into theArticleend ifif the number of chars of theArticle < 30000 thenput theArticle into cd fld "article"put empty into theArticleelseput "             ΓÇóΓÇóΓÇóΓÇóΓÇó   Display of article is truncated   ΓÇóΓÇóΓÇóΓÇóΓÇó" ┬¼& return & return into cd fld "article"put line 1 to 200 of theArticle after cd fld "article"set textStyle of word 2 to 6 of cd fld "article" to boldend ifupdateMenuend selectArticleon mouseEnterHCBalloon "Click a subject to display the Article. Option-Click to see" ┬¼&& "the header as well. Use UpArrow and DownArrow to change the article."end mouseEnter-- eos</script>
  1487.     </part>
  1488.     <part>
  1489.         <id>3</id>
  1490.         <type>field</type>
  1491.         <visible> <true /> </visible>
  1492.         <dontWrap> <false /> </dontWrap>
  1493.         <dontSearch> <false /> </dontSearch>
  1494.         <sharedText> <false /> </sharedText>
  1495.         <fixedLineHeight> <false /> </fixedLineHeight>
  1496.         <autoTab> <false /> </autoTab>
  1497.         <lockText> <true /> </lockText>
  1498.         <rect>
  1499.             <left>65535</left>
  1500.             <top>72</top>
  1501.             <right>513</right>
  1502.             <bottom>439</bottom>
  1503.         </rect>
  1504.         <style>scrolling</style>
  1505.         <autoSelect> <false /> </autoSelect>
  1506.         <showLines> <false /> </showLines>
  1507.         <wideMargins> <false /> </wideMargins>
  1508.         <multipleLines> <false /> </multipleLines>
  1509.         <reservedFamily> 0 </reservedFamily>
  1510.         <titleWidth>0</titleWidth>
  1511.         <icon>0</icon>
  1512.         <textAlign>left</textAlign>
  1513.         <font>Monaco</font>
  1514.         <textSize>9</textSize>
  1515.         <textStyle>plain</textStyle>
  1516.         <textHeight>12</textHeight>
  1517.         <name>article</name>
  1518.         <script>on closingglobal theArticleput empty into theArticleput empty into meupdateMenuend closingon saveglobal theSubject, theArticleget value of theSubjectdelete first word of itask file "Save article to:" with itif it is empty then exit saveput it into theFileopen file theFileif theArticle is empty then write me to file theFileelse write theArticle to file theFileclose file theFileend saveon mouseUpif the optionKey is up then pass mouseUpput Rot13(me) into meend mouseUpon mouseEnterHCBalloon "Option-Click to do a Rot13 decryption of the article."end mouseEnter-- eos</script>
  1519.     </part>
  1520.     <name>browser</name>
  1521.     <script>on arrowKey whichKeyglobal theGroup, theSubjectif whichKey is left or whichkey is right then pass arrowKeyif the shiftKey is down thenget theGroupput "groups" into theFieldput "selectGroup" into theCommandelseget theSubjectput "subjects" into theFieldput "selectArticle" into theCommandend ifif it is empty then -- no selectionbeepexit arrowKeyend ifif number of words of it is 1 then ┬¼get "line" && it && "of card field 1"if whichKey is down thenif word 2 of it < number of lines of cd fld theField thenadd 1 to word 2 of itsend theCommand && quote & it & quote to cd fld theFieldelse beepelse if whichKey is up thenif word 2 of it > 1 thensubtract 1 from word 2 of itsend theCommand && quote & it & quote to cd fld theFieldelse beepend ifend arrowKeyon adjustScroll whichLineput second word of whichLine into theLineput word 4 to 6 of whichLine into theFieldput the scroll of theField into theScrollput the textHeight of theField into theHeightif theLine < (theScroll / theHeight) + 2 thenset the scroll of theField to (theScroll - theHeight)else if theLine > (theScroll + height of theField) / theHeight - 1 thenset the scroll of theField to (theScroll + theHeight)end ifend adjustScroll    on arrangeFieldsput the rect of this card into cardRectget the rect of cd fld "groups"put item 3 of it into rightput item 4 of it into bottomput -1 into item 1 of itput -1 into item 2 of itset the rect of cd fld "groups" to itget "0,-1,0,0"put right - 1 into item 1 of itput item 3 of cardRect + 1 into item 3 of itput bottom into mtem 4 of itset the rect of cd fld "subjects" to itget "-1,0,0,0"put bottom - 1 into item 2 of itput item 3 of cardRect + 1 into item 3 of itput item 4 of cardRect + 1 into item 4 of itset the rect of cd fld "article" to itend arrangeFieldsfunction fetchText theCommandput empty into theTextsendLine theCommandget fetchLine()if first char of it is not "2" thenput itreturn theTextend ifrepeatget fetchLine(60)if first char of it is "." thendelete first char of itif first char of it is return then exit repeatend ifif it is not empty thenput it after theTextset cursor to busyelse set cursor to watchend repeatreturn theTextend fetchText------------- Menu Handling ---------------on openCardinstallMenuend openCardon resumeStackinstallMenupass resumeStackend resumeStackon closeCardremoveMenuend closeCardon suspendStackremoveMenupass suspendStackend suspendStackon installMenuremoveMenucreate menu "News"put "Archive Article,Save ArticleΓǪ,Post,Reply,-,Delete Group,Unread GroupΓǪ,-,Configure,Reset Connection" ┬¼into menu "News" with menuMessages "archive,save,post,reply,,deleteGroup,unreadGroup,,configure,reset"set the commandChar of menuItem "Save ArticleΓǪ" of menu "News" to "S"set the commandChar of menuItem "Reply" of menu "News" to "R"updateMenuend installMenuon removeMenuif there is a menu "News" then delete menu "News"end removeMenuon updateMenuglobal postingEnabled, theGroup, theSubject, theArticleif there is no menu "News" then exit updateMenuif postingEnabled thenenable menuItem "Post" of menu "News"if theSubject is not empty thenenable menuItem "Reply" of menu "News"end ifelsedisable menuItem "Post" of menu "News"disable menuItem "Reply" of menu "News"end ifif theSubject is not empty thenenable menuItem "Save ArticleΓǪ" of menu "News"if theArticle is empty then enable menuItem "Archive Article" of menu "News"else disable menuItem "Archive Article" of menu "News" -- won┬┤t fit into a fieldelsedisable menuItem "Archive Article" of menu "News"disable menuItem "Save ArticleΓǪ" of menu "News"disable menuItem "Reply" of menu "News"end ifif theGroup is not empty thenenable menuItem "Delete Group" of menu "News"enable menuItem "Unread GroupΓǪ" of menu "News"elsedisable menuItem "Delete Group" of menu "News"disable menuItem "Unread GroupΓǪ" of menu "News"end ifend updateMenuon archiveglobal theGroup, theSubject, theArticleset cursor to watchput first word of line theGroup of cd fld "groups" into groupNameput the value of theSubject into subjectNamedelete first word of subjectNameput cd fld "Article" into bodylock screenpush cardgo to last card of stack "NewsArchive" in a new windowdoMenu "New Card"put groupName into field "Group"put subjectName into field "Subject"put body into field "Article"mark card "Index" -- signal index updatepop cardunlock screenend archiveon savesend "save" to cd fld "article"end saveon configurego to card "setup"end configureon resetcloseStackconnectinstallMenuend reseton replyglobal theSubjectget value of theSubjectput first word of it into msgIDdelete first word of itif first word of it is not "Re:" then put "Re: " before itput it into cd fld "Subject:" of cd "posting"put fetchText("HEAD" && msgID) into theHeaderput extract(theHeader, "Reply-To:") into theAuthorif theAuthor is empty then put extract(theHeader, "From:") into theAuthorget extract(theHeader, "Message-ID:")put "In article" && it && theAuthor && "writes:" & ┬¼return into cd fld "text" of cd "posting"put extract(theHeader, "References:") && it into ┬¼cd fld "References:" of cd "posting"get cd fld "article"repeat with i = 1 to number of lines of itput "> " before line i of itend repeatput char 1 to 30000 of it after cd fld "text" of cd "posting"get extract(theHeader, "Followup-To:")if it is empty then get extract(theHeader, "Newsgroups:")post itend replyfunction extract theHeader, theItemrepeat with i = 1 to number of lines of theHeaderget line i of theHeaderif first word of it is theItem thendelete first word of itput it into theTextrepeat while first char of line (i + 1) of theHeader is spaceadd 1 to iput return & line i of theHeader after theTextend repeatreturn theTextend ifend repeatend extracton post itglobal theGroupif (it is empty) and (theGroup is not empty) thenget line theGroup of cd fld "groups"delete second word of it -- message number if presentend ifput it into cd fld "Newsgroups:" of cd "posting"go to card "posting"end poston deleteGroupsend "deleteGroup" to cd fld "groups"end deleteGroupon unreadGroupsend "unreadGroup" to cd fld "groups"end unreadGroup-- end of script</script>
  1522. </card>
  1523.  
  1524.  
  1525.